GetTimeBaseFlags
TheGetTimeBaseFlags
function allows your application to obtain the contents of the control flags of a time base.
pascal long GetTimeBaseFlags (TimeBase tb);
tb
- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBase
function (described on page 2-297).DESCRIPTION
TheGetTimeBaseFlags
function returns the control flags of a time base. The following flags are defined (unused flags are set to 0):
loopTimeBase
- Indicates whether the time base loops. If this flag is set to 1 and the rate is positive, the time base loops back and restarts from its start time when it reaches its stop time. If this flag is set to 1 and the rate is negative, the time base loops to its stop time. If the flag is set to 0, the movie stops when it reaches the end.
palindromeLoopTimeBase
- Indicates whether the time base loops in a palindrome fashion. Palindrome looping causes a time base to move alternately forward and backward. If this flag is set to 1, the time base is palindrome looping.
ERROR CODES
NoneSEE ALSO
You can set the control flags of a time base by calling theSetTimeBaseFlags
function, which is described in the previous section.